package com.atguigu03.field_method.method.exer;

/**
 * ClassName: EmployeeTest
 * Package: com.atguigu03.field_method.field.exer1
 * Description:
 *
 * @Author BuTang
 * @Create 2023/2/27 11:20
 * @Version 1.0
 */
public class EmployeeTest {
    public static void main(String[] args) {

        Employee emp1 =new Employee();
        emp1.id = 1001;
        emp1.name = "tom";
        emp1.age = 11;
        emp1.salary = 10101.1;


        //System.out.println(emp1.id+ emp1.name +emp1.age+emp1.salary);
        emp1.show();

        //创建第二个对象
        Employee emp2 =new Employee();


    }
}
